/*
 * XXX
 */

package edu.uhcl.csci4838.group3.dto;

import java.util.Date;

/**
 * XXX
 * 
 * @author Chris Waguespack
 */
public class Task {
	private String name;
	private Category category;
	private Date dueDate;
	private Double maxGrade;
	private Double receivedGrade;
	private boolean isComplete;
	private Double weightOverride;
	
	/**
	 * XXX
	 * 
	 * @param name
	 * @param category
	 * @param dueDate
	 * @param maxGrade
	 * @param receivedGrade
	 * @param isComplete
	 * @param weightOverride
	 */
	public Task(String name,
			Category category,
			Date dueDate,
			Double maxGrade,
			Double receivedGrade,
			boolean isComplete,
			Double weightOverride) {
		super();
		this.name = name;
		this.category = category;
		this.dueDate = dueDate;
		this.maxGrade = maxGrade;
		this.receivedGrade = receivedGrade;
		this.isComplete = isComplete;
		this.weightOverride = weightOverride;
	}

	/**
	 * XXX
	 */
	public Task() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	/**
	 * Returns XXX.
	 * 
	 * @return XXX
	 * @see #setXXX
	 */
	public Category getCategory() {
		return this.category;
	}
	
	/**
	 * Returns XXX.
	 * 
	 * @return XXX
	 * @see #setXXX
	 */
	public Date getDueDate() {
		return this.dueDate;
	}
	
	/**
	 * Returns XXX.
	 * 
	 * @return XXX
	 * @see #setXXX
	 */
	public Double getMaxGrade() {
		return this.maxGrade;
	}
	
	/**
	 * Returns XXX.
	 * 
	 * @return XXX
	 * @see #setXXX
	 */
	public String getName() {
		return this.name;
	}
	
	/**
	 * Returns XXX.
	 * 
	 * @return XXX
	 * @see #setXXX
	 */
	public Double getReceivedGrade() {
		return this.receivedGrade;
	}
	
	/**
	 * Returns XXX.
	 * 
	 * @return XXX
	 * @see #setXXX
	 */
	public Double getWeightOverride() {
		return this.weightOverride;
	}
	
	/**
	 * Returns XXX.
	 * 
	 * @return XXX
	 * @see #setXXX
	 */
	public boolean isComplete() {
		return this.isComplete;
	}
	
	/**
	 * Sets XXX.
	 * 
	 * @param category
	 *            XXX
	 * @see #getXXX
	 */
	public void setCategory(final Category category) {
		this.category = category;
	}
	
	/**
	 * Sets XXX.
	 * 
	 * @param isComplete
	 *            XXX
	 * @see #getXXX
	 */
	public void setComplete(final boolean isComplete) {
		this.isComplete = isComplete;
	}
	
	/**
	 * Sets XXX.
	 * 
	 * @param dueDate
	 *            XXX
	 * @see #getXXX
	 */
	public void setDueDate(final Date dueDate) {
		this.dueDate = dueDate;
	}
	
	/**
	 * Sets XXX.
	 * 
	 * @param maxGrade
	 *            XXX
	 * @see #getXXX
	 */
	public void setMaxGrade(final Double maxGrade) {
		this.maxGrade = maxGrade;
	}
	
	/**
	 * Sets XXX.
	 * 
	 * @param name
	 *            XXX
	 * @see #getXXX
	 */
	public void setName(final String name) {
		this.name = name;
	}
	
	/**
	 * Sets XXX.
	 * 
	 * @param receivedGrade
	 *            XXX
	 * @see #getXXX
	 */
	public void setReceivedGrade(final Double receivedGrade) {
		this.receivedGrade = receivedGrade;
	}
	
	/**
	 * Sets XXX.
	 * 
	 * @param weightOverride
	 *            XXX
	 * @see #getXXX
	 */
	public void setWeightOverride(final Double weightOverride) {
		this.weightOverride = weightOverride;
	}
	
}
